﻿using MediatR;
using ReturnValue;

namespace MES.Server.API.Application.Command.Process_Procedures.ProcessManagement
{
    public class CreateProcessManagementCommand : IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 工序编号
        /// </summary>
        public string ProcessCode { get; set; }
        /// <summary>
        /// 工序名称
        /// </summary>
        public string ProcessName { get; set; }
        /// <summary>
        /// 工序分类
        /// </summary>
        public long CategoryId { get; set; }
        /// <summary>
        /// 工序分类名称
        /// </summary>
        public string categoryName { get; set; }
        /// <summary>
        /// 负责人编号
        /// </summary>
        public long PersonId { get; set; }
        /// <summary>
        /// 负责人姓名
        /// </summary>
        public string PersonName { get; set; }
        /// <summary>
        /// 所属部门编号
        /// </summary>
        public long DepartmentId { get; set; }
        /// <summary>
        /// 所属部门名称
        /// </summary>
        public string DepartmentName { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public bool IsActive { get; set; } = true;
        /// <summary>
        /// 备注
        /// </summary>
        public string? Remarks { get; set; }
    }
}
